package ru.jexp.rcp.supply.dirty;

import ru.jexp.obekt.identifikacia.IIdentificiruemii;
import ru.jexp.rcp.supply.editor.JExpEditorPage;

public class DirtyTreeListener implements IDirtyListener {
	
	private JExpEditorPage<? extends IIdentificiruemii> editor;

	public DirtyTreeListener(
			JExpEditorPage<? extends IIdentificiruemii> editor) {
		this.editor = editor;
	}

	@Override
	public void dirty() {
		editor.notifyFirePropertyChange();
	}
}
